﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Recomment_setting.aspx.cs"
    Inherits="TRPOP.CMS.Web.Admin.Recomment_setting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>评论全局设置-<%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server" onsubmit="return CheckForm(this);">
    <table id="page_navigator">
        <tr>
            <td class="align_l">
                当前位置：评论全局设置 ->
                <%=m_Title%>
            </td>
        </tr>
    </table>
    <table class="table_form">
        <tbody>
            <tr class="tr_item">
                <th>
                    开启评论功能
                </th>
                <td>
                    <cms:RadioButtonList ID="rbtRecommentEnable" runat="server" Enabled="false" RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True" Value="true">是</asp:ListItem>
                        <asp:ListItem Value="false">否</asp:ListItem>
                    </cms:RadioButtonList>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    评论审核功能
                </th>
                <td>
                    <cms:RadioButtonList ID="rbtRecommentEnableAudit" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True" Value="true">启用</asp:ListItem>
                        <asp:ListItem Value="false">禁用</asp:ListItem>
                    </cms:RadioButtonList>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                    评论用户名最大长度（字节）
                </th>
                <td>
                    <cms:TextBox ID="txtRecommentUsernameLengt" runat="server" required="1" valuetype="N"
                        prompt="评论用户名最大长度" ControlValueType="String"></cms:TextBox>
                    <span class="FontWarn">*</span><span class="sp_tiptitle">输入格式须是数字</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    评论内容最小长度（字节）:
                </th>
                <td>
                    <cms:TextBox ID="txtRecommentContentMinLength" runat="server" required="1" valuetype="N"
                        prompt="评论内容最小长度" ControlValueType="String"></cms:TextBox>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    评论内容最大长度（字节）:
                </th>
                <td>
                    <cms:TextBox ID="txtRecommentContentMaxLength" runat="server" required="1" valuetype="N"
                        prompt="评论内容最大长度" ControlValueType="String"></cms:TextBox>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    启用字词过滤:
                </th>
                <td>
                    <cms:RadioButtonList ID="rbtRecommentEnableTextReplace" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True" Value="true">是</asp:ListItem>
                        <asp:ListItem Value="false">否</asp:ListItem>
                    </cms:RadioButtonList>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    字词过滤替换字符
                </th>
                <td>
                    <cms:TextBox ID="txtRecommentTextReplace" runat="server" required="1" prompt="字词过滤替换字符"
                        valuelength="250" ControlValueType="String"></cms:TextBox>
                    <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过50个字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    过滤字符列表: </br> "多个过滤字符请用逗号“,”分隔。"
                </th>
                <td>
                    <cms:TextBox ID="txtRecommentTextReplaceList" TextMode="MultiLine" runat="server"
                        ControlValueType="String"></cms:TextBox>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    信息评论数目访问地址
                </th>
                <td>
                    <cms:TextBox ID="txtRecommentGetCountUrl" runat="server" required="1" prompt="信息评论数目访问地址"
                        valuelength="300" ControlValueType="String"></cms:TextBox>
                    [$RecommentGetCountUrl] <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过300个字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    评论提交页面地址
                </th>
                <td>
                    <cms:TextBox ID="txtRecommentSubmitUrl" runat="server" required="1" prompt="评论提交页面地址"
                        valuelength="300" ControlValueType="String"></cms:TextBox>
                    [$RecommentSubmitUrl] <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过300个字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    评论列表访问地址
                </th>
                <td>
                    <cms:TextBox ID="txtRecommentListUrl" runat="server" required="1" prompt="评论列表访问地址"
                        valuelength="300" ControlValueType="String"></cms:TextBox>
                    [$RecommentListUrl] <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过300个字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    评论验证码地址
                </th>
                <td>
                    <cms:TextBox ID="txtRecommentCheckCodeUrl" runat="server" required="1" prompt="评论列表访问地址"
                        valuelength="300" ControlValueType="String"></cms:TextBox>
                    [$RecommentCheckCodeUrl] <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过300个字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    评论提交表单_标题
                </th>
                <td>
                    <cms:TextBox ID="txtrecName" runat="server" required="1" prompt="评论提交表单_标题" valuelength="300"
                        ControlValueType="String"></cms:TextBox>
                    [$recName] <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过300个字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    评论提交表单_详细内容
                </th>
                <td>
                    <cms:TextBox ID="txtrecDetail" runat="server" required="1" prompt="评论提交表单_详细内容" valuelength="300"
                        ControlValueType="String"></cms:TextBox>
                    [$recDetail] <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过300个字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    评论提交表单_信息id
                </th>
                <td>
                    <cms:TextBox ID="txtindexid" runat="server" required="1" prompt="评论提交表单_信息id" valuelength="300"
                        ControlValueType="String"></cms:TextBox>
                    [$indexid] <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过300个字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th width="20%">
                    评论提交表单_验证码
                </th>
                <td>
                    <cms:TextBox ID="txtrecvalidCode" runat="server" required="1" prompt="评论提交表单_验证码"
                        valuelength="300" ControlValueType="String"></cms:TextBox>
                    [$recvalidCode] <span class="FontWarn">*</span><span class="sp_tiptitle">不能超过300个字符！</span>
                </td>
            </tr>
            <tr class="tr_item">
                <th>
                </th>
                <td>
                    <cms:Button CssClass="button_style" ID="btnSubmit" Text="确定" runat="server" OnClick="btnSubmit_Click" />
                    <input class="button_style" name="reset" onclick="$('#Form').resetForm();" value="清除"
                        type="reset">
                    <input class="button_style" name="reset" onclick="window.location.href='<%=m_strRefer%>'"
                        value="返回" type="reset">
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
